package com.framework.component.extension.register;

import com.framework.component.extension.anno.ExtensionPoint;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Component
public class ExtensionRepository {

    private final Map<String, ExtensionPoint> extensionRepo = new ConcurrentHashMap<>(16);

    public Map<String, ExtensionPoint> getRepositoryRepo() {
        return extensionRepo;
    }
}
